﻿@using EMRI.EmergencyCare.Web.Helper
@model EMRI.EmergencyCare.Web.Helper.PatientDetailsViewModel
<fieldset>
    <legend>Synopsis</legend>
    @Html.HiddenFor(m => m.PatientDetails.Synopsis.PatientId)
    <table>
        <tr>
            <td>
                <b>
                    <label>
                        Status During Discharge:
                    </label>
                </b>
            </td>
            <td>
                @Html.CheckBoxFor(m => m.PatientDetails.Synopsis.HasImproved)
                @Html.LabelFor(m => m.PatientDetails.Synopsis.HasImproved)
                @Html.CheckBoxFor(m => m.PatientDetails.Synopsis.IsStatusQuo)
                @Html.LabelFor(m => m.PatientDetails.Synopsis.IsStatusQuo)
                @Html.CheckBoxFor(m => m.PatientDetails.Synopsis.IsDeterioated)
                @Html.LabelFor(m => m.PatientDetails.Synopsis.IsDeterioated)
                @Html.CheckBoxFor(m => m.PatientDetails.Synopsis.IsDeath)
                @Html.LabelFor(m => m.PatientDetails.Synopsis.IsDeath)
            </td>
        </tr>
        <tr>
            <td>
                <b>
                    <label>
                        Dispositon :
                    </label>
                </b>
            </td>
            <td>
                @Html.CheckBoxFor(m => m.PatientDetails.Synopsis.IsDischarged)
                @Html.LabelFor(m => m.PatientDetails.Synopsis.IsDischarged)
                @Html.CheckBoxFor(m => m.PatientDetails.Synopsis.IsAdmitted)
                @Html.LabelFor(m => m.PatientDetails.Synopsis.IsAdmitted)
                @Html.CheckBoxFor(m => m.Patient.IsReferred)
                @Html.LabelFor(m => m.Patient.IsReferred)
                &nbsp; &nbsp;
                    <label>
                        Hospital :
                    </label>
                <!--@Html.TextBoxFor(m => m.Patient.HospitalName) 

                @Html.LabelFor(m => m.Patient.HospitalName)-->

                @Html.DropDownListFor(m => m.Patient.HospitalName, new SelectList(MasterDataHelper.GetHospitalList()))

            </td>
        </tr>
        <tr>
            <td></td>
            <td>
                @Html.LabelFor(m => m.Patient.IsCritical)
                @Html.RadioButtonFor(m => m.Patient.IsCritical, "true")
                <label class="value">
                    Yes</label>
                @Html.RadioButtonFor(m => m.Patient.IsCritical, "false")
                <label class="value">
                    No</label>
            </td>
        </tr>
        <tr>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.Synopsis.MedicalDisposables): </b>
            </td>
            <td>
                @Html.TextAreaFor(m => m.PatientDetails.Synopsis.MedicalDisposables)
            </td>
        </tr>
        <tr>
            <td>
                <b>
                    @Html.LabelFor(m => m.Patient.Doctor)
                </b>
            </td>
            <td>
                @Html.DropDownListFor(m => m.Patient.Doctor, new SelectList(MasterDataHelper.GetDoctorlist()))
            </td>
        </tr>
        <tr>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.Synopsis.Attender)
                </b>
            </td>
            <td>
                @Html.TextAreaFor(m => m.PatientDetails.Synopsis.Attender)
            </td>
        </tr>

        <tr>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.Synopsis.Name)
                </b>
            </td>
            <td>
                @Html.DropDownListFor(m => m.PatientDetails.Synopsis.Name, new SelectList(MasterDataHelper.GetParamedicList()))
            </td>
        </tr>
        <tr>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.Synopsis.DischargeDateTime)
                </b>
            </td>
            <td>
                @Html.EditorFor(m => m.PatientDetails.Synopsis.DischargeDateTime)
            </td>
        </tr>
    </table>
</fieldset>
